package com.hzcx.app.simplechat.ui.chat.bean;

public class ChatHistoryBean {


    /**
     * id : 2517269
     * member_id : 28
     * bymember_id : 433
     * type : 2
     * maincontent : null
     * urlimage : http://osscqhzcx.oss-accelerate.aliyuncs.com/duochat/20210327/0c7b63315610ba1ea9be388b09b3ba8c.png
     * urlfile : null
     * video_length : 0
     * is_scan : 0
     * is_qrcode_scan : 0
     * msg_id : 2517269
     * createtime : 1616833452
     * member : {"id":433,"nickname":"ygg153","avatar":"http://osscqhzcx.oss-accelerate.aliyuncs.com/duochat/20210121/57170170be9f2e48a52ae0ac2342c43f.jpeg???x-oss-process=image/resize,m_fill,h_100,w_100","statusswitch_text":"Statusswitch 1","logintime_text":"2021-03-05 16:27:40","buddy_count":10,"bavatar":"http://osscqhzcx.oss-accelerate.aliyuncs.com/duochat/20210121/57170170be9f2e48a52ae0ac2342c43f.jpeg??"}
     * bymember : {"id":28,"nickname":"FL小丽","avatar":"http://osscqhzcx.oss-accelerate.aliyuncs.com/FLadmin/20201221/4923e12929dbb3622e774ad44eae8af2.jpg?x-oss-process=image/resize,m_fill,h_100,w_100","statusswitch_text":"Statusswitch 1","logintime_text":"2021-03-03 11:19:32","buddy_count":3211,"bavatar":"http://osscqhzcx.oss-accelerate.aliyuncs.com/FLadmin/20201221/4923e12929dbb3622e774ad44eae8af2.jpg"}
     * type_text : Type 2
     * time : 2021/03/27 16:24
     * img_width : 828
     * img_height : 1056
     */

    private int id;
    private int member_id;
    private int bymember_id;
    // 消息类型:1=文本类型,2=图片类型,3=地理位置,4=语音,5=视频类,6=文件类
    private int type;
    private String maincontent;
    private String urlimage;
    private String urlfile;
    private String video_length;
    private int is_scan;
    private int is_qrcode_scan;
    private int msg_id;
    private int createtime;
    private MemberBean member;
    private BymemberBean bymember;
    private String type_text;
    private String time;
    private String img_width;
    private String img_height;

    public String getUrlfile() {
        return urlfile;
    }

    public void setUrlfile(String urlfile) {
        this.urlfile = urlfile;
    }

    public String getVideo_length() {
        return video_length;
    }

    public void setVideo_length(String video_length) {
        this.video_length = video_length;
    }

    public String getImg_width() {
        return img_width;
    }

    public void setImg_width(String img_width) {
        this.img_width = img_width;
    }

    public String getImg_height() {
        return img_height;
    }

    public void setImg_height(String img_height) {
        this.img_height = img_height;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMember_id() {
        return member_id;
    }

    public void setMember_id(int member_id) {
        this.member_id = member_id;
    }

    public int getBymember_id() {
        return bymember_id;
    }

    public void setBymember_id(int bymember_id) {
        this.bymember_id = bymember_id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getMaincontent() {
        return maincontent;
    }

    public void setMaincontent(String maincontent) {
        this.maincontent = maincontent;
    }

    public String getUrlimage() {
        return urlimage;
    }

    public void setUrlimage(String urlimage) {
        this.urlimage = urlimage;
    }


    public int getIs_scan() {
        return is_scan;
    }

    public void setIs_scan(int is_scan) {
        this.is_scan = is_scan;
    }

    public int getIs_qrcode_scan() {
        return is_qrcode_scan;
    }

    public void setIs_qrcode_scan(int is_qrcode_scan) {
        this.is_qrcode_scan = is_qrcode_scan;
    }

    public int getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(int msg_id) {
        this.msg_id = msg_id;
    }

    public int getCreatetime() {
        return createtime;
    }

    public void setCreatetime(int createtime) {
        this.createtime = createtime;
    }

    public MemberBean getMember() {
        return member;
    }

    public void setMember(MemberBean member) {
        this.member = member;
    }

    public BymemberBean getBymember() {
        return bymember;
    }

    public void setBymember(BymemberBean bymember) {
        this.bymember = bymember;
    }

    public String getType_text() {
        return type_text;
    }

    public void setType_text(String type_text) {
        this.type_text = type_text;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }


    public static class MemberBean {
        /**
         * id : 433
         * nickname : ygg153
         * avatar : http://osscqhzcx.oss-accelerate.aliyuncs.com/duochat/20210121/57170170be9f2e48a52ae0ac2342c43f.jpeg???x-oss-process=image/resize,m_fill,h_100,w_100
         * statusswitch_text : Statusswitch 1
         * logintime_text : 2021-03-05 16:27:40
         * buddy_count : 10
         * bavatar : http://osscqhzcx.oss-accelerate.aliyuncs.com/duochat/20210121/57170170be9f2e48a52ae0ac2342c43f.jpeg??
         */

        private int id;
        private String nickname;
        private String avatar;
        private String statusswitch_text;
        private String logintime_text;
        private int buddy_count;
        private String bavatar;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getStatusswitch_text() {
            return statusswitch_text;
        }

        public void setStatusswitch_text(String statusswitch_text) {
            this.statusswitch_text = statusswitch_text;
        }

        public String getLogintime_text() {
            return logintime_text;
        }

        public void setLogintime_text(String logintime_text) {
            this.logintime_text = logintime_text;
        }

        public int getBuddy_count() {
            return buddy_count;
        }

        public void setBuddy_count(int buddy_count) {
            this.buddy_count = buddy_count;
        }

        public String getBavatar() {
            return bavatar;
        }

        public void setBavatar(String bavatar) {
            this.bavatar = bavatar;
        }
    }

    public static class BymemberBean {
        /**
         * id : 28
         * nickname : FL小丽
         * avatar : http://osscqhzcx.oss-accelerate.aliyuncs.com/FLadmin/20201221/4923e12929dbb3622e774ad44eae8af2.jpg?x-oss-process=image/resize,m_fill,h_100,w_100
         * statusswitch_text : Statusswitch 1
         * logintime_text : 2021-03-03 11:19:32
         * buddy_count : 3211
         * bavatar : http://osscqhzcx.oss-accelerate.aliyuncs.com/FLadmin/20201221/4923e12929dbb3622e774ad44eae8af2.jpg
         */

        private int id;
        private String nickname;
        private String avatar;
        private String statusswitch_text;
        private String logintime_text;
        private int buddy_count;
        private String bavatar;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getStatusswitch_text() {
            return statusswitch_text;
        }

        public void setStatusswitch_text(String statusswitch_text) {
            this.statusswitch_text = statusswitch_text;
        }

        public String getLogintime_text() {
            return logintime_text;
        }

        public void setLogintime_text(String logintime_text) {
            this.logintime_text = logintime_text;
        }

        public int getBuddy_count() {
            return buddy_count;
        }

        public void setBuddy_count(int buddy_count) {
            this.buddy_count = buddy_count;
        }

        public String getBavatar() {
            return bavatar;
        }

        public void setBavatar(String bavatar) {
            this.bavatar = bavatar;
        }
    }
}
